//
//  UINavigationController+Rx.swift
//  live
//
//  Created by melvyn on 2018/11/27.
//  Copyright © 2018 NEET. All rights reserved.
//

import Foundation
import RxSwift
import RxCocoa

extension Reactive where Base: UINavigationController {
    var isNavigationBarHidden: Binder<Bool> {
        return Binder(base) { nav, isHidden in
            nav.setNavigationBarHidden(isHidden, animated: true)
        }
    }
}
